package com.wfcm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.wfcm.dao.WfMemberChildrenDao;
import com.wfcm.entity.WfMemberChildrenEntity;
import com.wfcm.service.WfMemberChildrenService;



@Service("wfMemberChildrenService")
public class WfMemberChildrenServiceImpl implements WfMemberChildrenService {
	@Autowired
	private WfMemberChildrenDao wfMemberChildrenDao;
	
	@Override
	public WfMemberChildrenEntity queryObject(Integer id){
		return wfMemberChildrenDao.queryObject(id);
	}
	
	@Override
	public List<WfMemberChildrenEntity> queryList(Map<String, Object> map){
		return wfMemberChildrenDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return wfMemberChildrenDao.queryTotal(map);
	}
	
	@Override
	public void save(WfMemberChildrenEntity wfMemberChildren){
		wfMemberChildrenDao.save(wfMemberChildren);
	}
	
	@Override
	public void update(WfMemberChildrenEntity wfMemberChildren){
		wfMemberChildrenDao.update(wfMemberChildren);
	}
	
	@Override
	public void delete(Integer id){
		wfMemberChildrenDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		wfMemberChildrenDao.deleteBatch(ids);
	}
	
}
